Fix xenstored's dup2() usage.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 7 Sep 2007 09:26:33 +0000 (10:26 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 7 Sep 2007 09:26:33 +0000 (10:26 +0100)
commit038aa6bdc09e895a5a09e52e3710572a27978dd8
treec538cb739c34971507195c0c806b4a402297bec8
parent05bc962b373f5f41c5659d0287e3cf0d2973cc89
Fix xenstored's dup2() usage.

The dup2() calls had their arguments reversed. Also remove the
unnecessary close() calls.

Signed-off-by: John Levon <john.levon@sun.com>
tools/xenstore/xenstored_core.c